package com.engineering.elink.videodao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.VideoSubtitle;
import com.engineering.elink.vo.VideoSubTitleVo;

public interface VideoSubtitleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VideoSubtitle record);

    int insertSelective(VideoSubtitle record);

    VideoSubtitle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VideoSubtitle record);

    int updateByPrimaryKey(VideoSubtitle record);
    
    VideoSubtitle selectByVideoId(@Param("videoId") Integer videoId,@Param("type") Integer type);
    
    List<VideoSubTitleVo> getSubTitleByVideoId(@Param("videoId") Integer videoId);
    
}